<?php
/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of link
 *
 * @author joaoneto
 */
class JLoja_Html_Link
{
	private $_name;
	
	private $_link;

	public function __construct( $name, $link )
	{
		$this->_name = $name;
		$this->_link = $link;
	}

	public function __toString()
	{
		$html = '<a href="' . $this->_link . '">';
		$html .= $this->_name;
		$html .= '</a>';
		return $html;
	}
}